package org.wsocket.Exception;

/**
 * Exception class to represent WSocketServer related exception
 * @author phoenixc
 *
 */
public class WSocketException extends Exception {

	/**
	 * creates the exception with given message
	 * @param error the error message
	 */
	public WSocketException(String error) {
		super(error);
	}
	
	/**
	 * creates the exception with given message
	 * @param error the error message
	 * @param throwable the cause 
	 */
	public WSocketException(String error, Throwable throwable) {
		super(error, throwable);
	}
	
	/**
	 * 
	 * @param throwable
	 */
	public WSocketException(Throwable throwable) {
		super(throwable);
	}

	private static final long serialVersionUID = 1L;
	
}
